// 搜索相关api
import { get, post } from '@/utils/http'
import { threeApiConfig } from '@/utils/config'

export const search = (s, type, offest, limit) => post(
  threeApiConfig.baseApi + `/search/get?s=${s}&type=${type}&offset=${offest}&limit=${limit}`
)

export const hotList = () => get(
  threeApiConfig.baseApi + '/hotsearchlist/get'
)
